package org.example.springcloud.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 8/2/21 9:21 AM
 * @Version: 1.0
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Storage {

    private Long id;

    // 产品id
    private Long productId;


    //总库存
    private Integer total;


    //已用库存
    private Integer used;


    //剩余库存
    private Integer residue;

}



